﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace SketchUpAPI.NET.Objects
{
    [StructLayout(LayoutKind.Sequential, Pack = 8)]
    public struct Point2D
    {
        public static Point2D Zero
        {
            get
            {
                return new Point2D(0, 0);
            }
        }

        public double X { get; set; }
        public double Y { get; set; }

        public Point2D(double x, double y)
        {
            this.X = x;
            this.Y = y;
        }
    }
}